//---------------------------------------------------------------------
// <copyright file="BadRowType.cs" company="Microsoft">
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//---------------------------------------------------------------------

using System.Collections.Generic;
using Microsoft.Data.Edm.Validation;

namespace Microsoft.Data.Edm.Library.Internal
{
    /// <summary>
    /// Represents a semantically invalid EDM row type.
    /// </summary>
    internal class BadRowType : BadStructuredType, IEdmRowType
    {
        public BadRowType(IEnumerable<EdmError> errors)
            : base(errors)
        {
        }

        public override EdmTypeKind TypeKind
        {
            get { return EdmTypeKind.Row; }
        }
    }
}
